package com.zmn.plat.common.dto.price;

import com.zmn.plat.common.dto.product.item.ItemDRO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 描述: 产品价格出参
 *
 * @author guoqiao
 * @since 2021/8/27 15:40
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ProductPriceDRO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("产品ID")
    private Integer productId;

    @ApiModelProperty("价格")
    private Integer price;

    @ApiModelProperty("价格表id")
    private Integer tariffId;

    @ApiModelProperty("价格表类型，1服务定价 2计价器定价 3提前付定价")
    private Integer tariffType;

    @ApiModelProperty("定金")
    private Integer earnestPrice;

    @ApiModelProperty("内部结算价")
    private Integer internalSettlementPrice;

    @ApiModelProperty("外部结算价")
    private Integer externalSettlementPrice;

    @ApiModelProperty("支付方式：1.必须下单时支付,2.必须下单后支付,3.两种均支持")
    private Integer payType;

    @ApiModelProperty("是否一口价")
    private Integer fixedPrice;

    @ApiModelProperty("项目id")
    private Integer itemId;

    @ApiModelProperty("项目")
    private ItemTo itemTo;

}
